package net.lab1024.sa.admin.module.business.erp.dao;

import java.util.List;

import net.lab1024.sa.admin.module.business.erp.domain.entity.AccountbEntity;
import net.lab1024.sa.admin.module.business.erp.domain.entity.NmmordaEntity;
import net.lab1024.sa.admin.module.business.erp.domain.form.query.NmmordaQueryForm;
import net.lab1024.sa.admin.module.business.erp.domain.vo.NmmordaVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 生产订单与用户关系表 Dao
 *
 * @Author AKITA
 * @Date 2025-04-19 13:01:26
 * @Copyright AKITA
 */

@Mapper
public interface NmmordaDao extends BaseMapper<NmmordaEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<NmmordaVO> queryPage(Page page, @Param("queryForm") NmmordaQueryForm queryForm);

    List<AccountbEntity> selectCountAll(@Param("absId") Integer idList);

    Integer getMaxLineNum(@Param("docEntry") Long docEntry);
}
